package com.logic.landseaserver.persistence.read;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.logic.landseaserver.domain.RoomType;
import com.logic.landseaserver.models.rental.bean.RoomTypeDataBase;

public interface RoomTypeReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(RoomType record);

    RoomType selectByPrimaryKey(Integer id);

    RoomType selectByPrjIdAndCode(@Param("prjId") Integer prjId, @Param("code") String code);

    /**
     * 
     * [简要描述]：集中式房源信息获取</br>
     * [详细描述]：获取房间风格信息</br>
     * [作者]：Crystal(2018-03-05)</br>
     *
     * @param 
     * @return
     *
     */
	List<RoomTypeDataBase> selectForYingShi(String time);

}